<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            float: left;
            margin: 120px;
        }

        .box {
            overflow: hidden;
            float: left;
            margin: 120px;
        }

        .box img {
            width: 200px;
            height: 200px;
            transition: transform 0.5s ease;
        }

        .box img:hover {
            /* 放大图片的大小 */
            transform: scale(1.2);
        }

        div img {
            width: 200px;
            height: 200px;
            transition: transform 0.3s ease;
        }

        div img:hover {
            transform: scale(1.2);
        }
    </style>
</head>

<body>
    <div>
        <img src="../imges/t3.jpg">
    </div>
    <div class="box">
        <img src="../imges/t3.jpg">
    </div>
    <div>
        <img src="../imges/t3.jpg">
    </div>
</body>

</html>